#!/bin/sh

for i in `echo $HOME|ls`
do
	if [ -f $i ] 
	then 
		echo $i >>fff.txt
	fi 
done

num_line=`wc -l fff.txt|cut -d " " -f 1`

j=0
maxS=0

while [ $j -lt $num_line ]
do
	file_name=`head -$j fff.txt|tail -1`
	size=`ls -l $file_name|tr -s " "|cut -d " " -f 5`
	if [ -z $size ];then
		size=0
	elif [ $size -gt $maxS ];then
		maxS=$size
		Max_file_name=`ls -l $file_name|tr -s " "|`

	fi
	j=`expr $j + 1`
done
